org 0x7c00
[bits 16]
xor ax, ax ; eax = 0
; 初始化段寄存器, 段地址全部设为0
mov ds, ax
mov ss, ax
mov es, ax
mov fs, ax
mov gs, ax

; 初始化栈指针
mov sp, 0x7c00
mov ax, 0xb860
mov gs, ax

mov ah,2
mov bh,0
mov dh,15
mov dl,10
int 10h


mov ah,9
mov al, '2'
mov bh,0
mov bl,0x62
mov cx,2
int 10h


mov ah,2
mov bh,0
mov dh,15
mov dl,12
int 10h

mov ah,9
mov al, '3'
mov bh,0
mov bl,0x62
mov cx,1
int 10h

mov ah,2
mov bh,0
mov dh,15
mov dl,13
int 10h

mov ah,9
mov al, '0'
mov bh,0
mov bl,0x62
mov cx,1
int 10h

mov ah,2
mov bh,0
mov dh,15
mov dl,14
int 10h

mov ah,9
mov al, '3'
mov bh,0
mov bl,0x62
mov cx,1
int 10h

mov ah,2
mov bh,0
mov dh,15
mov dl,15
int 10h

mov al, '0'
mov ah,9
mov bh,0
mov bl,0x62
mov cx,1
int 10h

mov ah,2
mov bh,0
mov dh,15
mov dl,16
int 10h

mov al, '8'
mov ah,9
mov bh,0
mov bl,0x62
mov cx,1
int 10h

mov ah,2
mov bh,0
mov dh,15
mov dl,17
int 10h

mov al, '5'
mov ah,9
mov bh,0
mov bl,0x62
mov cx,1
int 10h

times 510 - ($ - $$) db 0
db 0x55, 0xaa
